
#include <iostream>

#import <ApplicationServices/ApplicationServices.h>

#include "Screen.h"
#include "UnixScreen.h"

UnixScreen::UnixScreen()
{
}

MncPoint Screen::GetSize()
{
    CGRect rectangle =CGDisplayBounds(CGMainDisplayID());
    main_monitor_size_ = MncPoint((int)rectangle.size.width, (int)rectangle.size.height);
    
    return main_monitor_size_;
}